package cn.db101.fairy.entity

import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.KeyType
import com.mybatisflex.annotation.Table
import java.time.LocalDateTime

@Table("t_user_collect")
class UserCollect {

    @Id(keyType = KeyType.Auto)
    val id: Int? = null

    var userId: Int? = null

    var detailId: Int? = null

    var createTime: LocalDateTime = LocalDateTime.now()

}